package com.ctr_flower.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (TbInventory)实体类
 *
 * @author makejava
 * @since 2020-08-23 12:06:00
 */
public class TbInventory implements Serializable {
    private static final long serialVersionUID = 481746918087301065L;
    /**
    * 库存变更记录表id
    */
    private Integer inventoryId;
    /**
    * 库存变更数（正数代表补货数，负数代表消费数量）
    */
    private Integer inventoryChanges;
    /**
    * 操作类型（0代表补货，1代表消费）
    */
    private String handle;
    /**
    * 操作人（可以是用户名，可以是商家名）
    */
    private String staff;
    /**
    * 操作时间
    */
    private Date inventoryTime;
    /**
    * 商品id
    */
    private Integer flowerId;


    public Integer getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Integer inventoryId) {
        this.inventoryId = inventoryId;
    }

    public Integer getInventoryChanges() {
        return inventoryChanges;
    }

    public void setInventoryChanges(Integer inventoryChanges) {
        this.inventoryChanges = inventoryChanges;
    }

    public String getHandle() {
        return handle;
    }

    public void setHandle(String handle) {
        this.handle = handle;
    }

    public String getStaff() {
        return staff;
    }

    public void setStaff(String staff) {
        this.staff = staff;
    }

    public Date getInventoryTime() {
        return inventoryTime;
    }

    public void setInventoryTime(Date inventoryTime) {
        this.inventoryTime = inventoryTime;
    }

    public Integer getFlowerId() {
        return flowerId;
    }

    public void setFlowerId(Integer flowerId) {
        this.flowerId = flowerId;
    }

}